package cn.darkhorse.device.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 * <p>
 * 设备名称对应表
 * </p>
 *
 * @author yuanjun
 * @since 2023-04-10
 */
@Getter
@Setter
@TableName("mes_device_name_mapping")
@ApiModel(value = "MesDeviceNameMapping对象", description = "设备名称对应表")
public class MesDeviceNameMapping implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("信控设备id")
    private String dataDeviceId;

    @ApiModelProperty("网关Mac地址")
    private String gatewayMac;

    @ApiModelProperty("是否被使用过")
    private Boolean beUsed;

}
